package MediaOnline.GUI;

import java.util.ArrayList;
import java.util.List;

import android.widget.ArrayAdapter;

public class AdapterHelper {
	  @SuppressWarnings({ "rawtypes", "unchecked" })
	    public void update(ArrayAdapter arrayAdapter, List<String> list){
	        arrayAdapter.clear();
	        for (Object object : list){
	            arrayAdapter.add(object);
	        }
	    }
}
